package org.jeecg.modules.demo.com.kunpeng.service;

import org.jeecg.modules.demo.com.kunpeng.entity.PurchaseContractDetail;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.List;

/**
 * @Description: 采购合同明细
 * @Author: jeecg-boot
 * @Date:   2022-12-23
 * @Version: V1.0
 */
public interface IPurchaseContractDetailService extends IService<PurchaseContractDetail> {

	/**
	 * 通过主表id查询子表数据
	 *
	 * @param mainId 主表id
	 * @return List<PurchaseContractDetail>
	 */
	public List<PurchaseContractDetail> selectByMainId(String mainId);


	/**
	 * 根据id删除数据
	 * @param id
	 * @return
	 */
	void deleteById(String id);
}
